#主动技能【lv5max.超电磁炮】

execute if score @s skPlayer matches 20.. rotated ~ 0 positioned ^ ^ ^4.5 run summon lightning_bolt ~ ~ ~
execute if score @s skPlayer matches 20.. rotated ~ 0 positioned ^ ^ ^4.5 run particle composter ~ ~ ~ 0.5 0.5 0.5 0.0001 30 normal @a

execute if score @s skPlayer matches 20.. rotated ~ 0 positioned ^ ^ ^9.5 run summon lightning_bolt ~ ~ ~
execute if score @s skPlayer matches 20.. rotated ~ 0 positioned ^ ^ ^9.5 run particle composter ~ ~ ~ 0.5 0.5 0.5 0.0001 30 normal @a

execute if score @s skPlayer matches 20.. rotated ~ 0 positioned ^ ^ ^14.5 run summon lightning_bolt ~ ~ ~
execute if score @s skPlayer matches 20.. rotated ~ 0 positioned ^ ^ ^14.5 run particle composter ~ ~ ~ 0.5 0.5 0.5 0.0001 30 normal @a

execute if score @s skPlayer matches 20.. rotated ~ 0 positioned ^ ^5 ^19.5 run summon minecraft:fireball ~ ~ ~ {Motion:[0.0,-0.4,0.0],ExplosionPower:2}
execute if score @s skPlayer matches 20.. rotated ~ 0 positioned ^ ^ ^19.5 run summon lightning_bolt ~ ~ ~
execute if score @s skPlayer matches 20.. rotated ~ 0 positioned ^ ^ ^19.5 run particle composter ~ ~ ~ 0.5 0.5 0.5 0.0001 30 normal @a

execute if score @s skPlayer matches 20.. rotated ~ 0 positioned ^ ^ ^24.5 run summon lightning_bolt ~ ~ ~
execute if score @s skPlayer matches 20.. rotated ~ 0 positioned ^ ^ ^24.5 run particle composter ~ ~ ~ 0.5 0.5 0.5 0.0001 30 normal @a

execute if score @s skPlayer matches 20.. run tellraw @a [{"selector":"@s","color":"gold","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"：释放技能","color":"blue","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"【lv5max.超电磁炮】","color":"dark_red","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"—御坂美琴","color":"gold","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]
execute if score @s skPlayer matches 20.. run scoreboard players remove @s skPlayer 30
scoreboard players set @s skCDEXBottle 18
scoreboard players reset @s skEXBottle